{|if $message == 'error'|}
    Error!<br />
{|/if|}
{|if $message == 'ok'|}
    <script type="text/javascript">window.location = "/controlpanel/news/"</script>
{|/if|}